
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:fluttertoast/fluttertoast.dart';
import 'package:musician_flutter/ui/UserScreen.dart';
import 'package:riverpod_annotation/riverpod_annotation.dart';
import 'dart:async';

import '../data/model/WelcomeData.dart';


part 'userRefresh.g.dart'; // 添加这一行，保证代码生成正确

@riverpod
Future<String> fetchUser(Ref ref) async {
  return "Flutter Dev ${DateTime.now()}"; // 返回带时间的数据
}